<template>
    <div>
        <h1>我是home组件</h1>
        <router-link to="/Home/Hs">hs组件</router-link>
        <router-link to="/Home/Hos">hos组件</router-link>
    </div>
</template>

<script>
export default {
    name:'Home',
    // beforeDestroy() {
    //     console.log("home组件即将被销毁",);
    // },
    mounted(){
        console.log("home组件即将被挂载",this);
    }
}
</script>

<style>

</style>